const express = require('express');

const app = express();

app.use((req, res, next) => {
    res.json({
        msg: 'hello, express!'
    })
})

app.listen(3000, () => {
    console.log('running on localhost:3000')
})
